package cn.zhentao.charge.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 车辆省市前缀对象 charge_car_city_prefix
 *
 * @author ruoyi
 * @date 2025-05-15
 */
public class ChargeCarCityPrefix extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 id */
    private Integer id;

    /** 城市 */
    @Excel(name = "城市")
    private String city;

    /** 前缀 */
    @Excel(name = "前缀")
    private String prefix;

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }

    public void setCity(String city)
    {
        this.city = city;
    }

    public String getCity()
    {
        return city;
    }

    public void setPrefix(String prefix)
    {
        this.prefix = prefix;
    }

    public String getPrefix()
    {
        return prefix;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("city", getCity())
            .append("prefix", getPrefix())
            .toString();
    }
}
